package com.local.web;

import com.local.service.ServiceTest;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lou ke
 * @version 1.0
 * @since 2020/5/29 17:04
 */
@RestController
@RequestMapping("/test")
public class WebTest {

    @RequestMapping("/showAll")
    public String showAll() {
        ServiceTest serviceTest = new ServiceTest();
        return serviceTest.showService() + "我是web!";
    }
}
